package com.coocaa.ops.common.core.security.annotation;

import java.lang.annotation.*;

/**
 * @author bijiahao
 * @date : 2019/10/12.
 * @description
 */
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.METHOD, ElementType.FIELD})
@Documented
@Inherited
public @interface MyGuard {

    /**
     * 是否进行验证
     *
     * @return
     */
    boolean require() default true;
}
